import { createApp } from 'vue'
import { createPinia } from 'pinia'
import persistedstate from 'pinia-plugin-persistedstate'
import App from './App.vue'
import router from './router'

import './assets/main.css'

const app = createApp(App)
// vue2  new Vue({render:h=>h(App)})
// Vue3  createApp(App)

app.use(createPinia().use(persistedstate))
app.use(router)
// vue2: Vue.use()
// Vue3  app.use()

app.mount('#app')
